package com.tlgen.orm.enums;

/**
 * 关键字查询枚举
 */
public enum Query {

    IN("IN"),
    NOT_IN("NOT IN"),
    EQ("EQ"),
    NE("<>"),
    OR("OR"),
    LIKE("LIKE"),
    NOT_LIKE("NOT LIKE"),
    LIKE_LEFT("LIKE LEFT"),
    LIKE_RIGHT("LIKE RIGHT"),
    LT("<"),
    LE("<="),
    GT(">"),
    GE(">="),
    BETWEEN("BETWEEN"),
    NOT_BETWEEN("NOT BETWEEN"),
    IS_NULL("IS NULL"),
    IS_NOT_NULL("IS NOT NULL"),
    GROUP_BY("GROUP BY"),
    ORDER_BY("ORDER BY"),
    ORDER_BY_ASC("ORDER BY ASC"),
    ORDER_BYD_ESC("ORDER BY ESC"),
    ;

    private String value;

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    Query(String value) {
        this.value = value;
    }

    Query() {

    }

}
